package com.hakgc.rent.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Xing.Jiejian
 * @date 2020/11/19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page<T> {
    /**
     * 分页集合数据
     */
    private List<T> rows;

    private int pageNo;

    private int pageSize;
    /**
     * 总记录数
     */
    private int totalCount;
    /**
     * 总页码数
     */
    private int totalPage;

}
